﻿using Newtonsoft.Json;

namespace Devonline.CloudService.Feige;

/// <summary>
/// 飞鸽云短信的回执
/// </summary>
internal class FeigeSmsResponse
{
    /// <summary>
    /// msg_no 短信回执编号，为唯一识别码 默认格式如：2016072909264497197473179
    /// </summary>
    [JsonProperty("msg_no")]
    public string? MessageNo { get; set; }
    /// <summary>
    /// 计费
    /// </summary>
    public float Fee { get; set; }
    /// <summary>
    /// count 计费数量
    /// </summary>
    public int Count { get; set; }
    /// <summary>
    /// code 接口回执状态码，判断成功失败的标志 成功为0，其它请参考 API 错误代码
    /// </summary>
    public int Code { get; set; }
    /// <summary>
    /// msg 接口回执状态描述 成功为OK，其它请参考 API 错误代码
    /// </summary>
    [JsonProperty("msg")]
    public string? Message { get; set; }
}